set SERVER=%~1
if "%SERVER%" == "" (
  echo INFO: Server addres is not specified, using default.
  set SERVER=.\SQLEXPRESS
)

"%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regsql.exe" -S "%SERVER%" -E -A all -d Membership